<!doctype html>
<html>
	<head>
		<meta charset="uft-8">
		<title></title>
		<link href="04.css" rel="stylesheet">
		<style>
			h1{
				color:#006699;
			}
			div{
				color:#990066;
			}
			span{
				font-size:30px;
				color:#660099;
			}
			p{
				color:#ff0;/*rgb   16进制*/
				font-size:20px;
			}
		</style>
		
	</head>
	<body>
		<h1>1.css层叠</h1>
		<div>
			<span>2.css继承</span>
		</div>

		<div style="color:#0ff">3.优先级</div>
		<p>3.内部和外部样就近优先</p>
	</body>
</html>





